﻿// -----------------------------------------------------------------------
// <copyright file="FrameVolumeRegion.cs" company="Intermedia.NET">
// TODO: Update copyright text.
// </copyright>
// -----------------------------------------------------------------------

using System.Runtime.Serialization;
using MovieFactory.Core.Primitives;

namespace MovieFactory.Entity.Frames {
    using System;
    using System.Collections.Generic;
    using System.Linq;
    using System.Text;

    [Serializable]
    [DataContract]
    [KnownType(typeof(FrameVolumeRegion))]
    public class FrameVolumeRegion  : FrameElement{

        [DataMember]
        public FrameObjFileReference VolumeMesh { get; set; }

        [DataMember]
        public AABB VolumeBounds { get; set; }

        [DataMember]
        public RgbSpectrum Absorbtion { get; set; }

        [DataMember]
        public RgbSpectrum Emission { get; set; }

    }
}
